//
//  XuKaiDiaryCacheProvider.h
//  emark
//
//  Created by neebel on 2017/5/29.
//  Copyright © 2017年 neebel. All rights reserved.
//

#import "XuKaiBaseDatabaseCommonProvider.h"
#import "XuKaiDiaryInfo.h"

@interface XuKaiDiaryCacheProvider : XuKaiBaseDatabaseCommonProvider

- (NSArray<XuKaiDiaryInfo *> *)selectDiaryInfosFromStart:(NSInteger)startIndex
                                           totalCount:(NSInteger)totalCount;

- (void)cacheDiaryInfo:(XuKaiDiaryInfo *)diaryInfo;

- (void)updateDiaryInfo:(XuKaiDiaryInfo *)diaryInfo;

- (void)deleteDiaryInfo:(XuKaiDiaryInfo *)diaryInfo;

- (UIImage *)selectImageWithDiaryId:(NSInteger)diaryId;

@end
